﻿<!--
Author : K.F.Storm
Email : yk000123 at sina.com
Website : http://www.kfstorm.com	
-->
<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="DoubanFM.VolumeControl"
	x:Name="UserControl"
	d:DesignWidth="400" d:DesignHeight="100">
	<Grid MinWidth="120" Height="40">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="40"/>
			<ColumnDefinition Width="10"/>
			<ColumnDefinition />
			<ColumnDefinition Width="10"/>
		</Grid.ColumnDefinitions>
		<CheckBox x:Name="Loudspeaker" IsChecked="{Binding IsMuted, ElementName=UserControl, Mode=TwoWay}" Style="{DynamicResource LoudspeakerStyle}"/>
		<Slider x:Name="slider" Grid.Column="2" Maximum="1" LargeChange="0.1" SmallChange="0.01" Value="{Binding Volume, ElementName=UserControl, Mode=TwoWay}"/>
	</Grid>
</UserControl>